home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11776 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: keats.ugrad.cs.ubc.ca!not-for-mail
  2. From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
  3. Newsgroups: comp.lang.c,comp.unix.programmer
  4. Subject: Re: File Globbing
  5. Followup-To: comp.unix.programmer
  6. Date: 26 Mar 1996 07:25:14 -0800
  7. Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
  8. Message-ID: <4j928qINNgfc@keats.ugrad.cs.ubc.ca>
  9. References: <4j7kvp$p1d@silas.cc.monash.edu.au> <4j814v$gg7@news.xs4all.nl>
  10. NNTP-Posting-Host: keats.ugrad.cs.ubc.ca
  11. Keywords: globbing
  12.  
  13. In article <4j814v$gg7@news.xs4all.nl>, Falstaff <falstaff@xs4all.nl> wrote:
  14.  >mman2@silas.cc.monash.edu.au (Mr Mark Mansour) writes:
  15.  >
  16.  >>I am looking for a file globbing routing for a Unix box.  Is there
  17.  >>something already written, or do I have to start from scratch?  For
  18.  >>those who do not understand what I am talking about, if the user
  19.  >>enters something such as "ls a*b??d" it will check it against an 
  20.  >>array/list of alternatives and supply my with the correct answer.
  21.  >
  22.  >Try "echo *" on any UNIX shell and you'll know where to look for it.
  23.  
  24. How is that? In the binary executable /bin/sh?
  25.  
  26. I suggest he try "man glob". The glob() function is part of the POSIX.2
  27. standard.
  28.  
  29. [ followup set to comp.unix.programmer ]
  30. -- 
  31.  
  32.